Window + interpolation

Added window loop management and graphics interpolation