Added a nodenames map for debugging.
Yay... relying on the simulator to do proper timing is going to be a pain
Split nodenames into one map for input pins and one map for output/bidirectional pins.
Restored synchronous method; uploading for debugging.