fix int/uint value marshaling
register several functions
redraw when key-done
add View.switch_to_buffer
close file after reading
file opening and saving