fixed a bunch of view stuff. some init updates. fixed tests