Get rid from so many functions parameters; added Enter key processing; added hack for broken rk3188 video driver