check admin mode in application execution (refs #3461)
correct json2 location in alleditjs.php (refs #3458)
extract FREEDOM_FRAME action (refs #3493)