Issue 372 2

Addresses issue #372.

This pull request covers devtools, distributions, energy_functions, expr, format, gui and linear (excluding tests).