Fix some React key issues, and enable pretty image loading