EntityManager log added (own logger, not log4net). Removed entity locking. Open questions.