Fixes issues #9 and #5

- Fixed all the deprecations
- Fixed an issue where the resizing of the views would not work
- Now requires 7.0+