Use curses_cleanup() with an empty reason to properly free windows memory at exit.