Stuff from egLoadFile MUST be freed with FreeAlignedPages()

Some style adjustments applied too