Applied some fixes to solids-handling parts of the thermo subsystem.
Fixed null object reference bug in the new composition editor.