Updated GUI, added an event system, generated javadoc and started on 
a basic scripting system.