fixed trailing whitespace issue, added event submission notifications