Added palette generator
Added basic 16-colour palette
Fixes some shell problems