Fixed bug, added method to FBO to easily create 2D texture attachment, fixed some Texture methods.