Add realm status check
Fix typo
Actually use variable
Fix things
Add queue check