Fruit machine lesson bugfixes

We just did this lesson, so here are the fixes for stuff that came up.