All fixed

Everything working now.

* mime detection
* various searches