fix for issue #84 and 2 other

3 minor chat tab bug