Now supports values larger than 999 :) Also fixed bad parsing of memory values.