Rework logging
Fixes etc
Redo parse_item part 1
minor cleanups