Added .stl generation and hooked up variables to session for ease of use.