Bug fix

Key F does not activate filter; sometimes page was null in MainWindow
activatetab function