changes so that win build puts everything in a separate application (with version number)
header now only takes required space