Initialize drawing window.