Bugfix, +feature

- Fixed several compile bugs mentioned by Clang
- Added the ability to give a function + parameters instead of a single
functor that does everything; This option does not work yet on MSVC, so
it's disabled there.