added some human readable stuff and tried to fix stdp.