Items in the sidebar are now grouped by their type and one of each item in the group can be 'built' at a time. Clock animation is now drawn on the items that are being built. Build time still not implemented. Behaviour after item built not correct.
This lets the Sidebar only repopulate its item list when the items that can be built changes.
Compiling the .NET projects as x64 on 64bit machines was causing problems with the unmanaged code.