default_app renamed to limit_app, adding funcs

funcs for accessing globals