Turn on hardware acceleration
Remove unused imports