Add editor folds, normalize code style