modules:Inspector: use Factory.widget instead of pre-importing all

widgets. Fixes issue where loading inspector through config crashes