Get rid of control panel stuff that is not need in the embedApp example