Epic/kh dynamic

Updated after fix of Pointer Problems in Task.cpp