Fix injection of ui into commands
Bump version to 0.5.0.rc5