#35 task machine bug fixed

was doing enormous crap on the tasks removal (layers and objects to be
fixed)