Fixed missing <cmath> include in Position

Oddly enough MSVC wasn't griping but gcc is...
Totally revamped the way we're handling the task editor widgets