paltform beta

added platforms  2D/3D switch
bugs are descripted in code