Updated const correctness, variable scope and assertions
Fix command line entry declaration alignment
Replace g_warning for g_print in most error messages
Fix gdk_init() call to gtk_init()
Add delimiting comments to processing stages
Whitespaces fixes
Make empty parameter calls explicit (() => (void))