reorganized log messages
adust memory page size if passed in segment length is less than the min page size
also adust memory page size if passed in segment length is less than the min page size
now handles first time initialization of lua script after firmware load; also can load default script