added timer, better gem matching logic, some styling updates