fixed packet sizes, added power amount argument

also fooled around with the log format