[win8] Add comments and license headers
Add some finalization logic