Pass Hooke instance to CommandEngine.run(), not UserInterface.run().