thread_View adds search parameter page and perpage

fixed parseThread casting errors