Comply with new hacking requirements

Fix some print statements and an import only module issue.

Change-Id: I0bb9cecb5ab03f35e696ee57c3ded05d7fd1725b