Merge remote-tracking branch 'origin/DavidBranch' into MaxBranch

Conflicts:
	src/rts/core/engine/Engine.java
	src/rts/views/CreateView.java
Merge remote-tracking branch 'origin/DavidBranch' into MaxBranch

Conflicts:
	src/rts/core/engine/Engine.java
	src/rts/views/CreateView.java
Merge remote-tracking branch 'origin/DavidBranch' into MaxBranch

Conflicts:
	src/rts/core/engine/Engine.java
	src/rts/views/CreateView.java
Merge remote-tracking branch 'origin/DavidBranch' into MaxBranch

Conflicts:
	src/rts/core/engine/Engine.java
	src/rts/views/CreateView.java
added stuff to lua scripts, priority queues, a function that updates every frame, and some global variables