move editor init to mdpro object
make editor initialzation part of the initialization of the mdpro object and add functions to change styles