Linux chat and mouse fixes
merge