Added some comments and added some open save func to toolbar