Initial port work. Custom colors do not work yet
More work to be compatible with ST3
Work to make the same branch compatible with both ST2 and ST3
Fix reference before assignment
Fixes for underline. Update package resources library.