Use the correct types, potentially speed up some algorithms although not dramatically.
clear() is not updated, since that triggered a possible bug in pixely(). That MUST be fixed first, because else clearing the screen will segfault the entire app.