fix memory bug with references
fix label position, clean prints
fix rotation, refactor 2d projection rendering