Finished alerts sub view

Also refactored doc loading commands a bit.