Bugfix: Adding Global Variables.
Added RegExp validator to VariableDialog.