Implement event loop (Select, SelectEnd, SelectBreakEnd, Case, CaseEnd, SetNextFocus) [UNTESTED], implement executing scripts from nss.npa