Fixed --profile-laps command line parameter.
Try to make the custom GUI settings popup work on any resolution
disable crash reporter in debug mode
Fixed some memory problems reported by valgrind.
Merge branch 'master' of github.com:supertuxkart/stk-code
Merge branch 'master' of github.com:supertuxkart/stk-code
Fixed invalid memory read (thanks to valgrind).