Fix filter bug. Switching back and forth between layers will not mess up
the filter. Fix initialize bug so that compass starts off pointing in
proper direction.