adopted for mobile devices (at least usable now). added global gzip compression.