Working protoype

Working prototype. Only thing missing is zooming out functionality on
Windows.