Note that sprintf has been modified
Cleanups & commenting, remove unused load function
New build of viewer