AdrianK

Added intelligent frame update code