Renaming to reflect that it's not *the* main entrypoint.
Added comments to the resize method.
Cleaning up curses code by using the wrapper.