remove unused functions
add TODO
prompt user to save/unsave/cancel modified buffers
doc: cosmetic fix