Revert "Add item debuging and fix minor bugs"

This reverts commit a53aaedf039735acf4c2e85f984632113a088457.