Update layout/application code.
Rewrite prologue.