Wrapped some comments, renamed remove_bridges_and_vlans in headnode_cleanup decorator, and consolidated some code into for loops.