Fixed BMFont loading if buffer ends with a '0'.
Improved VAO handling and debug asserts.