Revert "Added main frame"

This reverts commit 617cd1c05a36ed60f33057a419b1b4ae4a4848ac.