Rewrote input handler to optionally use readline
Cleaned some code formatting
Updated TODO
Began work on SIGINT handling

It still has lots of bugs.