Menu resource added and enabled compiler warnings as well as some simple stuff
for managing the sorting.