FIx ViewThread.jsp + more minor bugs