remove unnecessary pointer
add forgotten property
fix check for active window