Tweaks to advanced filter. Issue: #370
Fixed a range of bugs in the inbox design. Issue: #370