Remove obsolete code
Fix post-completion redraw issue on Windows

Closes #17.