Fix postform buttons' events
Make 'Collapse thread' a valid link
Fix bugs in panel menus