added bindings for copy and paste
added some debug functions for view manipulation.