Moved saving to mouse up event
Use the 'data' instead of 'Data' field in db, removed some extra lines
Remove debug messages