Added synchronized to more tiltsensor methods.