Changed so that the active window is always at least 30 lines high