REFACTOR: moved win_... builtins from pqConsole