Moved cprofile to new function.
Ignored gedit temp files.