Remove last usage of ToolPart and fix possible crash with displaying parts
Remove unused variable that can potentially cause a crash under certain circumstances