Prepared window and canvas