* renamed some enums
* lots of cleanups in operationhandling. This resulted in cleaner/less code and the fixing of some longstanding issues.