removed RTL support to make reading code easier
cleaned up funDefDialog a bit, got blockly canvas created in dialog
got function creation preview dynamically updating