Added operator field.  Made the main activity a parent of the log activity
Fix upgrade from db version 1 to 2