When you customize your main form I see in the code of framework that you call the svy_nav_fr_p_main instead of the globals.nav.mainFormName, and this cause problems when we was customized the form.
I changed all the calls to svy_nav_fr_p_main and set it to [globals.nav.mainFormName] for the next version.