updates to initd script to play nice with xbmc
better logging
improved INIT_SCRIPT def
better variable naming