updated debug option
added 'and search' option (set default), inaddition to 'starts with' search
fixed debug option