Added short delay before searching in search bar. Also fixes errors in page building.