fixed bug in vgaterm / added bool definition