Fixed sorting.
Formatting.
Initial version of completion. Currently only works on default keyword list.