Clean up

- Rename variables and functions for consistency
- Remove some unused variable declarations
- Change function declaration style
- Change public API method name
Return true/false for support callback

This is easier to work with than supported/notsupported. I don't like
boolean function parameters, but I think this is a good use case.