deprecate PATH_INFO, refactor Xhr, clean up...