Video upload works once again

database description fixed not to drop non-existent tables
A proper fix to getEventTimestamp.
Added proper escapes to setEventTimestamp.