MathematicalTaskController almost done.

A bug came up in Edit (also for RegularTask) - will be fixed first thing
tommorow.