bug fixed host logic, finished paths logic for the GUI.