Final fix for arrays in the gui
final cleanup, tests pass
Merge pull request #1361 from Kenneth-T-Moore/array

Another fix for arrays