Patch minimize - TODO - Callbacks titlebar done