Added 24-bit colour support
Added basic error reporting in prompty scripts