Adding support for ignoring menubar in config file
changing logic for ignoring menubar
removing unneccesarry imports