Added a toggle for showing objects in the gui and programcode
mergefix