Fixed an issue with creating new threads

Fixed an issue where the link to the new threads page didn't have the
right url.

Fixed another issue where the inputs in the new thread page weren't
being updated correctly.