added constructor to cError
added WindowsID Variable to give Message boxes a parent, outside of the main application