finished resource loading
fixed some styles