Track the application status and disable buttons in consequence

Work in progress.
links (<a/>) needs a css class, but form elements (<button/>) have a build in disabled mode.