Fixed map history, Permissions issues, and chat bug