Console fix select

Sorry, I see that the pull request is constantly trying to pull in TorbenC's previous commit as well, I have no idea why git is doing this when git on my system confirms that I am only committing one file in my branch.

This fixes the console selection. Before, when the console was closed, it would remove the reference to whatever was selected. Now the console remembers the previous selection when it is opened again.

Thanks to TorbenC for helping with this.