Fixed an infinite loop problem with OpenLogHandler. Fixed a auto-boxing
problem where numbers were interpretted as Strings if they were
requested as generic Object.

Signed-off-by: Nathan T Freeman <nathan.freeman@redpilldevelopment.com>