Added some styling and fixed event creation bugs.