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