BUG : wrap qstring in str call so `update_colormap` works

The input was coming in as a QString so the look up was not working.

The try block is there to protect us from the user typing in pathological values.