ide: refactored out the creation of a new editor tab sheet.
ide: refactor out Adding Unit To Project code into separate method.