core: allow changing the priority at runtime

~~Untested.~~ RFC.

Closes #198.
don't do that, you should always use _MAIN for that, there is no need to redefine a stack size.