added fps calculation. minor changes.