remember windows size, disable button on login, cleanup