Added error messages and compile context sensitive window hints