Added applet interface

Cleaned up a few bugs and added an applet interface.  I’m going to
consider this the first fully working commit for this program.  There
are still a few hardcoded segments for layout that may not work for
every user.  That will be fixed soon.