Codestructure change, on how to store draw level.

TaskManager is now respnosible of store the level for each task. Changes
are made in the commited files to reflect this change.