Committing some minor bug fixes inside the SimpleLoader and other
places in the code that were causing issues with stricter
compilers.

Signed-off-by: SammyJoeOSborne <slopps@gmail.com>