drawing state is variable dependant now
rough 3d stuff as comment, yet to merge in but works
added dirty 3D code