Added *~ to .gitignore
Added initial version of read-only mode

Added initial version of read-only and editable modes. Also added
buttons to test-ui to change between the modes. Currently notes
do not work when in read-only mode.