fixed memory leaks. added new function
removed gedit tmp file
fixed coding standards
Merge pull request #16 from zelgerj/master

fixed memory leaks. added new function