added ram_usage
avoided esc key with jk