export stl; cleaned up menu functions