fixed bugs

fixed bug showing compass view, fixed not writing a done event when
regions are present.