Fixed a bug causing snake algorithm for ground not working
Fixed a bug crashing program sometimes
Added check for the number of objects found in a frame