Fix all style violations

Now the violation check is mandatory
Remove superfluous limit
Move the wcursor increment after the assert
Improve imports
Issue #191 - Generates excess garbage on close