Fix indentation and tabs
Fix beginDraw(), background errors and examples
Set indentation to 2 spaces