Fixed some errors/missing code

Also refactored the positioning of elements in GUIFormattedPanel so that
it is re-positioned when changing the array. The re-positioning can also
be manually triggered.