Some simulator GDB fixes

Properly terminate register query with a semicolon
Parse thread switch request