window per-compiled header related
some compilation errors fixed