done
eof handling seems done
rakefile improvements