improved search functionality, changed some preference options