an update
Added support for kh server variables, much improved exception handling, formatting and other updates