assert that layer and viewport are never null
not setting the model to null when disposing
converted the comperators into fields
checking the path for null in TreeCellExtender