Fixed #1226. Fixed #1156. Fixed two other issues with spectate mode.