Fixed swi handling to correctly save and restore user state
removed print statements and hex dumps