Performance issue fix with input display

1) Performance issue fix with input display: instead of creating a
inputmovie object everytime, I use movie.get_frame without the
inputmovie object. So, for large movie, this doesn't slowdown.

2) A better and more rigorous definition of frame, subframe, etc.

3) Some minor improvements for changing background and text opacity.

4) More callback functions.