Initialize the GUI lock in a way that doesn't break the API
i.e., in a way that doesn't break initial-setup.
Also store a reference to the lock object in GraphicalUserInterface
instead of UserInterface since I'm not sure anymore why I made the
object available in text mode.