Clean up logging and remove m_dirty instance variable
Fix tile texture initialization
Clean up imports