Fixed bug where some variables were not properly being declared prior to use in instances with no machine selected.