powerbuttonmonitor.sh: cleaned up script
netbase: made version indepedent