small changes to omprove design speed (now works at 249Mhz pixel clock)