Added goal event handler.
NEEDS TESTING.
IF TESTING PANS OUT - DO "ALPHA" RELEASE.