Added a way to get console from registry of lua state.
Added a small demo that echoes the given string in randomized colors.