Settingized the artifact additions and added a bad thought notifier.
Various bugfixes.

To be exact, the kind of bugfixes that make the new scripts work.
Merge branch 'master' into graphical