Fixed some issues with dash widgets.
Improved the way entities are defined. This greatly reduces the code needed to define an entity.