Win32: properly retain and free class name, better name