Bug fixes for infinite loop in dep.py and no GUI project found in handlers_workspace.py