refactored emailService to just send email immediately.
tweaked UI and duplication functionality
Merge attempt no. 1. Lots of line ending stuff, much grr, very windows.\
Concluded testing of merge with main project.
Some changes for Casa's patches. Lots to do.