#9 Close and maximize buttons is on the right position when left position specified in the config.

Fixes #9