Small image fixes
Added constant to Color
Changed resources interface to use shared_ptr
Fixed async behavior on all web functions.
Changed tiles interface to use shared_ptr. Cleaned up tiles interface.