fixed crash by switching to using postEvent for returning the request result
cleanup
improved autoRange behavior