Renamed several variables and removed debug print

Having unified terms for things will make it easier to explain how the
plugin behaves.
Added missing setting