fix logging and cleanup
Merge pull request #2 from SuperTux88/cleanup

fix logging and cleanup