Events can now have arbitrary names.

Previously event names were restricted to simple numbers. Now any name
should be fine.
Removing all trailing whitespaces