Fixed textures
Fixed entities movement
Removed dead code
Fixed issues