Fix bugs; add simple CustomNode example; begin implementing CustomNode