Some non-working debug code removed.
Better handling of unavailable css files.