Better Window + Chat management

Fixes memory related issues (especially dealing with several conversations windows)