Adding auto-complete, adding some useful functions, fixing some small annoyances