- added close/open session to DomainControllerImpl queries, now properly refreshes data from database
- small cleanup