Window creates correctly. Removed deprecated initialize/terminate calls.