Adding functionality for moving window and default window functionality: minimise, maximise and close.