[console] add queue and lock to the console class
[c++11] add override keywords and make some constructors explicit