hides appindicator while closing application for a smoother look
changes behaviour when pressing the 'x-button'
window now hides on default and program can only be closed with the indicator
cleans up the imports