Remove logging
Save new document through event queue
Added file mode as a labs feature