Simplified return events processing.
Merge branch 'dungeon' of https://github.com/eintr/dungeon into dungeon

Conflicts:
	src/imp.c
	src/thr_worker.c