fix a couple bugs and remove redundant code
Assign the logged in user's name automatically to threads and comments. Also added the loading image to both forms.