done issue #27; opening only the first window