change lockToolbar to lock
try to fix unicode for python 3.3
implement show and hide within setActive directly