.xbm Files
Moved buffer writing into a neat little utility function, added some documentation examples & fixed a few bugs