Almost finished with 3D support. Only need to fix a new bug: coming back from 3D mode, the circuitboard no longer resizes with the window.