Started work on an event queue, fixed some javadoc, and updated javadoc.