Switched to full C implementation
Merged C list with master, updated setup_console in log to be static