Moved a lot of code into the !loading check in render, to avoid the crash if you try using keys before loading complete. probably can move more code in here and do a loading message.