Numerous fixes for IE and mobile