main.cpp: Remove unnecessary call to exit()
tools/Packer*.cpp: Replace calls to exit with return
p_load_graphics(): Replace exit(0) with throw;
Move early init stage from main() to init()