Rewrote of the BaseFrame

See changelog.