Fix a bunch of problems from last commit:

- Linux compilation issues
- Various crashes in the line properties dialog when the game configuration is vanilla doom
- Some linux UI quirks (combo box won't allow dropdown if the list is empty)