adds setActive API
fixes issues with the iframe
Merge pull request #1800 from FinalAngel/develop

Frontend Fixes