Added "Close" and "Clear" buttons to search bar.
Set filename in titlebar whenever ::filename changes.