Thank you.
Setting the form title in the designer seems to have no effect, perhaps whatever is set here is overwritten by something else I don't understand yet. It does in the WYSIWYG emulator but not in the compiled code.
MainForm.Title doesn't work for me either.
However
B4XPages.SetTitle(Me, "Main Page") does the trick.