Various changes and improvements
added raytrace and sprites
Merge branch 'master' into weaponsbranch