I don't understand the win condition of this game. I hadn't finished filling the gear at the top and I just arbitrarily won without anything in particular happening.
Yeah... not going to spoil the win condition, but the check for it is definitely bugged. ^^; It tends to trigger a little early, but not so early that you miss out on any content I think.