gui forwards exception to console if cancel is pressed
added oxdna dihedral term
allow to specify energy cutoff in randomconnect