minor fixes on c
CLOSED - task 5: Settings Window 
http://github.com/tkessels/publicMain/issues/issue/5