Code style fixups: PEP-8 compliance

Remove unneccesary semicolons, unused imports, other minor style issues