All Rust commits from Facepunch
Refactor EditAreaAvailable() to CanEnterEditMode() ahead of some changes