Bunch of little changes to refactor examples into using viewports