scrutinizer cleanup

- reduce code duplication via updateObject() method
- cleanup getPart()
- remove debug
- ensure arrays are always defined