enhanced pma guessing to cope with absolute paths
added quad batch compilation and using it for sprite flattening