Refactor rosterwin.c
Merge branch 'master' into plugins