csp - basic placement algorithm
excluding min, max macros when including windows.h
Merge branch 'master'