added OpenWRT app approval lookup; code cleanup; Makefile tweaks