impl realtime preview #15
tuning refresh timing #15