Updated the controllers and corresponding web pages to check if the thread is inactive and if so, will hide the contribution text box and submit button.