Added loading flag, fixed reference column sort bug

Reference column cards will now pause loading while a table is loading
(though multiple tables loading at once could interfere with this)