Move implementations to .cpp files. Add NOEXCEPT to window procs.