Better /version output

Signed-off-by: Steven Downer <grinch@outlook.com>
Wouldn't it be nice if the console was coloured - actually colour console messages instead of just leaving colour codes.
Switch index length check around to prevent crashes