Properly dispose of used Graphics in tile packing.
Support separated alpha masks in texture resources.
Merge branch 'core'