changed dynamic object property access to use bracket operators
Renamed task priority constants