Updated event handling to pass the index of the window being interacted
with.
Moved where the index is specified.
Setup basics for animating the tile expansion when they are clicked on.
Still bugs with how it interacts with a routine transition.