Unblocking added to main loop

Unblocking added to main loop. Also added white-group stuff.
White-group not dynamic & may crash if not exists