Twee cleanup

The "twee" script was forgotten on the whitespace cleanup, doing that now. Also removed unnecessary code ("lib" dir doesn't actually exist) and improved usability.