Some more work on user-defined proc support
Corrected file name from 'var_purple.small.bmp' to 'var_purple_small.bmp'
More changes to support defined procs
Now can edit text labels for procs being defined (buggy)