remove unnecessary resize, improve comments
have save warning right in principle
final brush-up