Refined random header image load function.

Signed-off-by: Dom Pascal <dom@dompascal.com>