launch: Use memcpy instead of pointer aliasing
Add default paths for unexpected values in switch statements

This fixes some warnings when compiled with -O2
Fix some typos in comments of swc.h