added a small license of terms, added set fail events from the server. etc.. added hex commands.