debugging error for udnefined nil object
Debugging preset functionality
Reimplemented save tool position functionality that was accidentally removed