Fixed minor whitespace issue
Fixed up fstat, added search on resists