fixed design issues raised by clacote.
offline CSS/JS mode improved