Better alerts. Removed obsolete loading code, using spinner package now.