Cleanup general

Mostly examples and formatting etc