When building the auto complete list, all functions are now iterated
through regardless of b_only_var when set (may cause a slight
performance issue in cases where b_only_var was set previously) but I
feel this trade off was worth it to allow local variable function lookup
with simpler code and less logic.