add save to ply method, cleanup, debug
improved and cleanup plot code
let user resize windows