Added sub flights to ref lights and put some event checking stuff back

Signed-off-by: Tim Traver <ttraver@mivamerchant.com>