updated BMFont
added Linux support
fixed Mask
reset and restore GL handles
use maxrects for packing atlasses