Split display functions into their own module.
Moved command line processing into options.cpp and cleaned up a few things.