GenericAdapter.execute now always returns a new cursor.
Fixed pep8 warnings.