Preview images in search mode, some interface changes, bugfixes