Multiple compilation fixes.
Fix Append Command. Refactor a whole lot of shit.