Fixing 3fps max in recorded video.
MySQL changes to support multiple tables, one for events and one for files.