just set the frame height to 500 when being <= 40 before when unminimizing so people can't end up stuck in mini mode anymore.