more minor cleanup, using w instead of A apis and using boost for filesystem paths, still need to combine code to make mostly single platform