dynamic: use macros for sysfs entries
dynamic: use macros for sysfs entries, continued
app_monitor: renice entire thread group
app_monitor: improve init.d script
data: improve sqlite performace with pragmas
data: calculate app cpu time in pct