added preprocessor to check for rtdk library on compile time; removed extra crasting from defaultguimodel