Added offline mode, a new form header bar and some other updates.