K 10 svn:author V 5 naddy K 8 svn:date V 27 2015-09-21T12:36:55.817499Z K 7 svn:log V 200 Properly fix the LP64 issue in the application resource handling rather than praying that globals end up in the lower 32-bit address space. Add a number of missing includes, etc. Approved by: edwin END