window: revamped for a more manual way of handling windows
session: rendering function is now here
layout: changes based refactoring window
mainview: changes to conform with new layout interface
example