added check for bad screen param for gui.run