General

* The IMGUI ID's used by the UI code need to be globally unique during a single run of the program. To achieve that easily each cID call takes a pointer and a unsigned int as a parameter. The pointer is by convention the function the cID call is in and the uint an unique integer in that function. A good idea is to space out the integers to make later changes easier, like 1000, 2000, 3000 for larger groups and then 1100, 1200 etc for subgroups.

Code formatting

* Compound statements. Please format braces using the following style:

if (expr) {
	statement;
	statement;
}

while (expr) {
	statement;
	statement;
}

do {
	statement;
	statement;
} while (expr);