Transitions between levels added; doesn't work properly yet.