Add EVENT_WINDOW_CREATED to centralize window init/deinit logic
Simplify kmatrix escape handling
Simplify automap key powerup color setup
Improve interaction of Del+F with normal map usage

Refactor edge computation into helper.

Let Automap_visited always be exactly what the player mapped normally.
This allows reversing Del+F.
Move multi_send_data_direct type into template parameter

Optimizing compilers may now delete the size check.
Inline multi_send_quit
Combine MULTI_PLAYER_EXPLODE and MULTI_PLAYER_DROP

Add a selector byte and use a common primary command code.
Warn when objects are deleted due to invalid segment
Use enum for CockpitMode

This makes the debugger output nicer.
Remove get_parm_value use for type=anarchy mission loader
Remove PHYSFSX_gets, PHYSFSX_readString

They do not check for a buffer overflow.