Added cancel button to weighting editor, added close capability to StartupWindow, and added line to cancel generateReport if issues arise