Updated capfile, readme, fixed compiler warning