Added use of minimize button

It can be toggled in the config file wether to use the minimize button.