Added some error checking on create event, fixed up the layout.
Merge pull request #12 from alexe0131/master

Added some error checking on create event, fixed up the layout.