Avoid an NRE in OnInputLocksModified.

This should fix the "hang" Master Tao and Nereid worked out. It seems the
input lock change event can fire after the editor is loaded but before
EditorLogic is running properly.