Fixed bug that caused crash when removing tabs. If the tab being removed was not the currently selected tab, it would grab that tab and search for it's name in panel2 which would be currently populated by the selected tab's Tessellation that is not the one being searched for. Therefore the result would come back empty, which was not checked, and would throw an exception when indexed for the first result.

I switched the instantiation method for shapes and was in the process of integrating it into the XML serialization and deserialization process.