Major changes. Stomped many bugs and integrated GUI.