adds images_loaded event

also adds editorconfig