Fixed minor issues from previous commit:

- Compile issue due to instr.cpp
- Added method to reset the instruction pointer for a task.