Make the "Loading..." code simpler