Cleaned up the @:bitmap, @:file and @:sound code, moved some internal details into new private methods that can be called from within a constructor to populate from Bytes or a ByteArray
Compile fixes