adjusting layout for more nodes
improving error messages when nodes aren't found
added support for special characters, including spaces, in node names