Units introduced

Full units functionality, alse some minor improvements and a fps meter