Closes #30 - Incorrect error handling when frameName used near EOF.