Big update. Use NSDocument architecture and add some window controllers. Migrate some more stuff to RAC too