If you do the exact same thing for thread-list / new you may want to add:

case "#thread-list":
case "#new":
 ...
...
break;