Many changes

Position autocomplete window below current line.
Position instruction details box next to suggestions.
Automatically add '(' for instructions.
Fixed many bugs introduced by the changes.