Cleaned up general code. GREATLY expanded functionality of OclEnv::AvailableGPUMem, almost fully functional. Jeff will be merging from this.