First rendering tries

- Fixed some bugs on the way