Modifications to the Item disabler thread.

- Items now get removed properly again.
- Moved some stuff into separate methods to make the code more readable.