compass activity added, several small fixes