added a case statement to the die recieve from buffer code to handle refreshes, this was missing and so no refreshes were actually being handled, they were just being generated