Porting to windows
Added some error checking to bmfont
bmfont: added option to pre-allocate vbo buffer