Fixed font measuring calculating wrong width. Fixed layer not rendering if opacity was less than 1. Added spritebatch for gui rendering.