Minor refactoring

-- made refreshing the list view more smooth, hopefully, by re-ordering
when table changes get fired and controller-refresh calls
-- basic formatting refactors