Added code to open a tab innocuously if the lottery settings are set to yes. This way the tab will be opened in another window that does not have a focus OR in the current window if it has more than 5 tabs
Merge remote-tracking branch 'upstream/master'