some render events added
fixed unsigned int in raw_resource constructor
fixed unsigned int in raw_resource construstor
now main loop fires idle event
opengl render introduced