Cleanup: rename is_* to starts_*, move functions together, factor out start finding...