Changed the resource type to bytes, since Python 3 does not convert it automatically.
Changed cadwindow resource import to the Python 3 import convention.