Code cleanup

Added versions, documentation, and streamlined GUI use.