Changes to import system to make it more flexible, other misc changes.
Merge pull request #14 from Tribex/widget_types

Changes to import system to make it more flexible, other misc changes.