Added 'spaces to tabs' & fixed validation errors by emilaspman