Migrating to WPF as Drawing tool + fix for vor.rb

Fixed the Nil reference exception at def inorder root