Code cleanup in BoblightHandler