changed label buffer size from 1024 to 512
added fun ptr to have a single keyboard callback in a c_base_container class
added different callback to mouse event