small ui bugfix
The table on Preferences > Profiles > Session wasn’t updating when a different profile was selected.
Fix some profile settings bugs
Missing keys & terminating null in copyAttributes,
and moved a few lines of code to match UI.
Merge pull request #168 from percontation/master

Reorder code in prefs to match the UI. Fix a crash when switching profiles while on Sessions tab in prefs>profiles and jobs-to-ignore changes. Fix bulk copy to accurately reflect UI.