Fixed SuperSU PRO apk + data remove on SuperSu update. now OK. and also will be backedup and restored on root remove/install
Fixed wakeup boost with Nightmare GOV. Thanks to @alucard_24
Tuned Nightmare Gov to be more battery friendly. reduced freq on low load. +Sound volume tuning for performance profiles.
Tuned voltages a bit more than new Samsung Default!
Tuned profiles and settings! Nightmare gov set for default,perfomance and extraperformance profiles!
Tuned Nighmare Gov for all profiles + smooth level off + voltage ranges

Smooth level controlled by govs, so best to set it OFF.

every freq has +- 100mV voltage range.
Added control for dirty_background_ratio + dirty_ratio in MEM Tab.
Revert "+ more debug ... but without this info we can't debug this part :P"

This reverts commit 7c8b21b42c90afd63b3a3e4bd65674b23178eee4.

No longer needed.
Cortex: tuned memory + sched hard tuning and fixed logic.
Fix for dirty ration tweak! my bad.
New BUG FIX + New Function to check call state. + voltage fix

Added +25mV to 852/900/952 freq to prevent sod on call.
Reports show that some users get SOD on call or after it.
it's can be releated to voltage for cpu freqs that connected to radio
operations.

+ fixed root check.
now check if root app is also in /data/app

+ added call state check that will check if user on call, if yes then
no sleep function run, there is no need.

+ fixed stuck half sleep mode if power connected! awake was not running!
until no power source connected and screen off!

+ tuned RAM and removed sched options that can be unstable.

+ added force touch keys state from STweaks profile on boot
to set it OFF if user want that or fix the time out, as set by user.
Fix for STweaks app in case SU binary is at /system/bin/su then copy it to /system/xbin/su for STweaaks to find it.
Add support for new JBSAMMY Leak XWLSD!
Cortex: kill wait_for_fb_wake generated by /sbin/ext/wakecheck.sh when on call. no need to hold 2 wait_for_fb_wake second one will be help by infinite function :)
Added SEC ROM Data + Cache fix before SEC rom boot. good for stable rom.
Nightmare gov. two new parms added!
+ more "low mem kill" settings ...
+ "With the default values of sending 9 probes with 75 seconds for each, it would take approximately 11 minutes before the connection is timed out ... "

now we have 3 * 20 seconds => 1m [need testing]
+ "tcp_keepalive_time

The tcp_keepalive_time variable tells the TCP/IP stack how often to send TCP keepalive packets to keep an connection alive if it is currently unused. This value is only used when keepalive is enabled.

The tcp_keepalive_time variable takes an integer value which is counted in seconds. The default value is 7200 seconds, or 2 hours. This should be a good value for most hosts and will not take too much network resources from you. Do not set this value to low since it will then use up your network resources with unnecessary traffic."

... now we have 30m for screen on and 2h for screen off [need testing]
+ more debug, if we need it ...