Adding advanced search, cleaning formatting.
Fixing coder syntax issues.