massive cleanup of gallery module
cleanup in activityresults
cleanup in activityresults
cleanup in activityresults (zum 3.)
typo fix, inlining of "done" function, rename test
Merge pull request #796 from leider/master

cleanups (see below)