Added Advanced Tab Completion. This probably is buggy, but it should do something at least.