Cleanup (some stuff went wrong when reverting 4-byte mapnodes); fix legacy_wallmounted