reduce memory usage of main.py status
added select ip gui to gui.py