Correct type of keep_open
Same style for all variable declarations
Use curly brakets for conditional statements
Set icon after window creation
Reorder and comment config.h
Layout fix for directives