Added wireframe debug mode