Try and figure out what that application is which uses 97% of your cpu for a short while.
Do you have any 'docklings' or other things which automatically load when you login (check the login panel in system preferences - docklings aside, it should show any programs which defaultly load)