fixed some bugs, added mmt configuration page