Added some debug info
Viewport can now move. TODO:Make it faster.
Did a bit of optimization.