[#27] removed PGB logout code in the window close event