fixed some static file issues, and added better error logging for missing modules inside loaded components