set environment when calling CreateProcess
changed indent style
change minimum window size to it's initial size
fixes #7