removed all view-mode related things; caused errors; TO-DO: re-add