Use .Start instead of deprecated .Resume method
Declare some constants only on platforms which need them
Remove hints related to abstract methods on created image objects
Remove unused variables and remove some 64 bit related hints
Fix "signed/unsigned mixing" hints
Code cleanup: Remove some hints and unused variables