removed unnecessary casts, and added zero'd the WNDCLASSEX with memset