fixing bug with finding the correct page
turning locking and hiding threads into mysqli
tidying up the files for the forums and renaming them to more appropriate names