Finished the preview and techtree commands