if location is tba or empty set to null, cleaned up some code

Made all error messages in oscar_api to: "Error, event logged"

to24hour refactored some code