Add commands to save and restore the current g-code state. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>