Add option for enabling size hints for the window

Properly cleaned up #112.