Making document modes more consistent (in theory, because in practice none of them is implemented yet).
Implementing deletion and new file features in VM and HTML.
Properly hiding 'delete' button when nothing is selected.