Few fixes, new console-fn