Various bugs fixed

Various bugs related to conversion from the old template structure and
old method of loading random controls fixed.  Scanning no longer loads
duplicate controls.  Full gameplay loop working, all except for success
screen and mission debriefing.