Implement a contex menu and pasteboard

I think this is ready to be pulled into the main branch... there's still a minor issue of the Cut command not saving properly or something, but copy and paste seem to work just fine.