Added a lot of functionality from Java 1 application.  Will need to convert it to make it more readable and up to par.