ToolBoxQT Optimization

Modified to Pointer approach