Cleanup errors after LocalOperator merge

Several small errors are fixed that lead to hard errors, e.g. segfaults. The main errors fixed is the GlobalContext storage of the geometry by moving into a new shared_ptr. This was a dangling reference before.

Merge request reports

Loading