Change size, frame speed and on close actions