Update menu label when playlist lock state changes

Includes a bug fix to prevent the removal or clearing of a playlist
through the notebook's context menu, as well as additional PEP8 fixes.

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>