Don't execute show_search signal handler multiple times. Closes #33

 * Handler gets only executed if status really has changed. Use internal state
   variable to track dock_item state.
Reset from lock/unlock signals with saved state.