Fixed numerous issues with data pipeline. Goals are now being recognised and sent to NUbugger, though some metadata is being incorrectly calculated or sent.