Fixed some of the str_dup errors
Working on updating ROM memory system